package bitmap;

import java.io.FileInputStream;
import java.io.FileOutputStream;

import colour.Colour;

/**
 * It is interface for the PPM write and read
 * @author Yuting Wu
 * @author Kan Lin
 * @author Bing Dong
 *
 */
public interface IPPM {

	// get a group of colour
	// firstByte is only used in P3
	Colour[][] readColour(FileInputStream fis,int firstByte);

	// write a group of colour into stream
	boolean writeColour(FileOutputStream fos,String whitespace);

}
